.class final Lcom/ninesky/browser/aq;
.super Landroid/os/Handler;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/AddBookmarkActivity;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/AddBookmarkActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/aq;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public final handleMessage(Landroid/os/Message;)V
    .locals 3

    const/4 v2, 0x1

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget v0, p1, Landroid/os/Message;->arg1:I

    if-ne v2, v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/aq;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    const v1, 0x7f0700ac

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/ninesky/browser/aq;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-virtual {v0}, Lcom/ninesky/browser/AddBookmarkActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0

    invoke-static {v0}, Lcom/ninesky/browser/provider/g;->a(Landroid/content/ContentResolver;)V

    :goto_1
    invoke-static {}, Lcom/ninesky/browser/view/c;->e()Lcom/ninesky/browser/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/view/c;->b()V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/aq;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    const v1, 0x7f0700ad

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1

    :pswitch_1
    invoke-static {}, Lcom/ninesky/browser/view/c;->e()Lcom/ninesky/browser/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/view/c;->b()V

    :pswitch_2
    iget-object v0, p0, Lcom/ninesky/browser/aq;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    iget-object v1, p0, Lcom/ninesky/browser/aq;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-static {v1}, Lcom/ninesky/browser/AddBookmarkActivity;->a(Lcom/ninesky/browser/AddBookmarkActivity;)[Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/ninesky/browser/AddBookmarkActivity;->a(Lcom/ninesky/browser/AddBookmarkActivity;[Ljava/lang/String;)V

    :pswitch_3
    iget-object v0, p0, Lcom/ninesky/browser/aq;->a:Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-static {v0}, Lcom/ninesky/browser/AddBookmarkActivity;->b(Lcom/ninesky/browser/AddBookmarkActivity;)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x64
        :pswitch_0
        :pswitch_2
        :pswitch_3
        :pswitch_1
    .end packed-switch
.end method
